import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPlutinPersistedstate from 'pinia-plugin-persistedstate'

import App from './App.vue'
import router from './router'

import './assets/main.css'
// 引入svg图标注册脚本
import 'virtual:svg-icons-register'

const app = createApp(App)

const pinia = createPinia()
pinia.use(piniaPlutinPersistedstate)
app.use(pinia)
app.use(router)

app.mount('#app')
